﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using SqlSugar;

namespace NP.BPMReportPlatform.TaxManage.Dto
{
    [ExcelExporter(Name = "NOTES红字信息表", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class NotesRedLetterDto
    {
        [ExporterHeader(Hidden = true)] 
        public string Url { get; set; }
        /// <summary>
        /// 流程实例编号
        /// </summary>
        [ExporterHeader(DisplayName = "申请编号")]
        public string InstanceNumber { get; set; }
        [ExporterHeader(DisplayName = "申请人姓名")]
        public string UserName { get; set; }

       
        [ExporterHeader(DisplayName = "申请人工号")]
        public string UserCode { get; set; }
        [ExporterHeader(DisplayName = "申请原因")]
        public string memoReason { get; set; }
        [ExporterHeader(DisplayName = "流程状态",IsIgnore =true)]
        public string flowstate { get; set; }
        [ExporterHeader(DisplayName = "流程状态")]
        public string flowstateName { get; set; }

        [ExporterHeader(DisplayName = "发票所属公司代码")]
        public string companyCode { get; set; }
        [ExporterHeader(DisplayName = "发票所属公司名称")]
        public string companyName { get; set; }
        [ExporterHeader(DisplayName = "发票所属公司税号")]
        public string companyTaxNo { get; set; }
        [ExporterHeader(DisplayName = "关企/供应商")]
        public string chcCompanyStatus
        {
            get;set;
        } 
        [ExporterHeader(DisplayName = "备注")]
        public string remark { get; set; }
        [ExporterHeader(DisplayName = "供应商/购买方代码")]
        public string sellerCode { get; set; }
        [ExporterHeader(DisplayName = "供应商/购买方名称")]
        public string sellerName { get; set; }
        [ExporterHeader(DisplayName = "供应商/购买方税号")]
        public string sellerNameNumber { get; set; }

        [ExporterHeader(DisplayName = "发票号码")]
        public string invoiceNumber { get; set; }
        [ExporterHeader(DisplayName = "发票代码")]
        public string invoiceCode { get; set; }
        [ExporterHeader(DisplayName = "发票类型")]
        public string invoiceTypeName { get; set; }
        [ExporterHeader(DisplayName = "红冲类型 ")]
        public string redLetterType { get; set; }
        [ExporterHeader(DisplayName = "回款方式")]
        public string accountType { get; set; }
        [ExporterHeader(DisplayName = "金额（含税）")]
        public decimal? amountWithTax { get; set; }
        [ExporterHeader(DisplayName = "金额（未税）")]
        public decimal? amountWithOutTax { get; set; }
        [ExporterHeader(DisplayName = "金额（税额）")]
        public decimal? tax { get; set; }
      
        [ExporterHeader(DisplayName = "45单号")]
        public string list45 { get; set; }
        [ExporterHeader(DisplayName = "28单号")]
        public string list28 { get; set; }
       
        [ExporterHeader(DisplayName = "92单号")]
        public string list92 { get; set; }
        [ExporterHeader(DisplayName = "开票设备")]
        public string deviceSelectValue { get; set; }

        [ExporterHeader(DisplayName = "红字信息编号")]
        public string redLetterNumber { get; set; } 
        
        [ExporterHeader(DisplayName = "红字信息状态")]
        public string applyStatusText { get; set; }
        [ExporterHeader(DisplayName = "入账凭证")]
        public string customVourcherNo { get; set; }

        [ExporterHeader(DisplayName = "新红字发票号")]
        public string newRedInvoiceNumber { get; set; }
         

       
    }
}
